package com.woniu.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class PublishNoticeForm {
    @NotNull(message = "公告标题不能为空")
    @ApiModelProperty(value = "公告标题")
    private String title;

    @NotNull(message = "公告内容不能为空")
    @ApiModelProperty(value = "公告内容")
    private String content;

}
